<?php

namespace App;

// use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class Admin extends Authenticatable
{
    use Notifiable;
    protected $table = 'Admins';
    protected $guarded = [];

    protected $hidden = [
        'password', 'remember_token',
    ];

    public function club()
    {
        return $this->belongsTo('App\Club', 'club_id');
    }
}
